//
// Created by dwx on 2024/1/23.
//

#ifndef SIMPLEFOC_DELAY_H
#define SIMPLEFOC_DELAY_H

#ifdef __cplusplus
extern "C" {
#endif

#include "main.h"

uint32_t micros(void);

uint32_t millis(void);
void delay_ms(uint16_t ms);
void delayMicroseconds(uint32_t us);

#ifdef __cplusplus
}
#endif
#endif //SIMPLEFOC_DELAY_H
